<template>
  <el-container class="home-container">
    <el-aside style="width: 217px;">
      <el-menu
        active-text-color="#ffd04b"
        background-color="#545c64"
        class="el-menu-vertical-demo"
        default-active="2"
        text-color="#fff"
        router="true"
        style="width: 200px;"
      >
        <el-sub-menu v-for="firstMenu,idx of menuList" :key="firstMenu.authId" :index="idx">
          <template #title>
            <el-icon v-if="firstMenu.authName=='用户管理'">
              <svg t="1646894807342" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8966" width="200" height="200"><path d="M824.192 699.904a301.568 301.568 0 0 0-86.4-60.416 199.552 199.552 0 0 0 74.24-155.52 201.216 201.216 0 0 0-203.264-200 200.128 200.128 0 0 0-122.752 355.52c-31.744 14.72-60.928 34.88-86.4 60.416a298.048 298.048 0 0 0-87.616 203.904 8 8 0 0 0 8 8.192h56A7.936 7.936 0 0 0 384 904.32a226.048 226.048 0 0 1 66.688-153.536 226.624 226.624 0 0 1 161.28-66.752c60.928 0 118.208 23.68 161.28 66.752a226.944 226.944 0 0 1 66.752 153.536c0.128 4.288 3.712 7.68 8 7.68h56c4.48 0 8.128-3.712 8-8.192a297.408 297.408 0 0 0-87.808-203.904zM611.968 612.032a126.912 126.912 0 0 1-90.496-37.504 128.192 128.192 0 0 1 89.216-218.496 128.768 128.768 0 0 1 91.008 36.544c24.832 24.32 38.4 56.832 38.4 91.392 0 34.24-13.312 66.304-37.504 90.56a127.36 127.36 0 0 1-90.56 37.44zM361.536 510.336a256.384 256.384 0 0 1 2.944-72.96 8.064 8.064 0 0 0-4.48-8.768 127.552 127.552 0 0 1-75.584-120.512 127.36 127.36 0 0 1 36.224-85.568 127.36 127.36 0 0 1 93.248-38.72 127.872 127.872 0 0 1 106.368 58.88 8 8 0 0 0 9.28 3.2c17.6-6.144 36.224-10.432 55.296-12.48a8 8 0 0 0 6.336-11.52A200.32 200.32 0 0 0 415.36 112c-110.912-1.728-203.328 89.216-203.328 199.872 0 62.848 28.928 118.848 74.24 155.52-31.808 14.72-61.12 35.008-86.528 60.416a297.408 297.408 0 0 0-87.808 203.968 8 8 0 0 0 8 8.256h56.128a7.936 7.936 0 0 0 8-7.68 226.048 226.048 0 0 1 66.688-153.6 225.728 225.728 0 0 1 104.704-59.648 8 8 0 0 0 5.952-8.704z" p-id="8967"></path></svg>
            </el-icon>
            <el-icon v-if="firstMenu.authName=='角色管理'">
              <svg t="1646893398140" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4551" width="200" height="200"><path d="M527.9 876c5-0.7 9.8-2.4 13.9-5.2 6.5-3.8 12.6-8.1 18.3-13 5.5-4.7 10.7-9.7 15.5-15 3.5-3 5.8-7 6.7-11.4 0.5-5.9 0.5-11.8 0-17.6 0-8.3-3.9-17.6-6.1-27-2.2-9.3-5-19.7-7.2-29.5s-4.4-17.6-6.1-23.3c4.4-4.1 8.3-8.6 11.6-13.5 3.8-4.6 6-10.2 6.1-16.1-0.2-4.9-1.9-9.6-5-13.5-3-4.5-6.8-8.5-11.1-11.9l-15-11.4h-43.8c-5.3 3.4-10.3 7.2-15 11.4-3.6 3.4-6.8 7.3-9.4 11.4-2.7 3.9-4.3 8.3-4.4 13 0.7 4.9 3.1 9.4 6.7 13 4.7 5.8 10.1 11 16.1 15.6l-7.2 21.3c-2.8 9.3-5.5 19.2-8.3 29.5-2.8 10.4-5 19.7-7.2 29-1.6 6.6-2.6 13.4-2.8 20.2 0.9 4.4 3.2 8.3 6.7 11.4 4.9 5.5 10.2 10.5 16.1 15 5.8 4.7 11.9 9 18.3 13 3.7 2.3 8.1 3.9 12.6 4.6z m399.3-81.9v15.6c1.2 12.3 0.3 24.8-2.8 36.8-1.3 9.3-4.5 18.3-9.4 26.4-7.2 6.2-16 10.5-25.5 12.4-117 29.5-237.7 43.8-358.8 42.5-124.3-0.2-248.4-11.3-370.5-33.2-16-2.3-31.5-6.9-46-13.5-6.7-4.7-11.6-18.1-14.4-40.4-2.9-21.1-1.6-42.6 3.9-63.2 2.3-18 11.8-34.5 26.6-46.1 15-10.9 31.9-19.3 49.9-24.9 19.4-6.2 108.1-34.7 128.7-39.4 19.6-4.1 38.4-11.3 55.5-21.3 10.5-5.7 20.2-12.7 28.8-20.7 11.8-10.5 18.5-25.2 18.3-40.4v-23.3c-0.3-11.5-5.3-22.4-13.9-30.6-7.8-7.3-16.6-14.5-27.2-22.3-5.2-4.5-9.3-10-12.2-16.1-6.5-5.5-10.3-13.1-10.5-21.3l-11.1-25.4c-4.4-1.2-8.5-3.1-12.2-5.7-4.3-3.4-8.2-7.2-11.6-11.4-4.8-5.8-8.5-12.3-11.1-19.2-2.8-8.2-3.8-16.8-2.8-25.4 0.3-7.3 1.8-14.4 4.4-21.3 2.4-6.4 6-12.4 10.5-17.6-0.5-21 0.8-41.9 3.9-62.7 2.6-19 6.9-37.7 12.8-56 6.1-18.5 15.2-36 27.2-51.8 10.3-14.6 23-27.5 37.7-38.4 12.8-9.2 26.8-16.9 41.6-22.8 13.9-5.3 28.4-9.1 43.3-11.4 13.7-2.2 27.7-3.4 41.6-3.6 16.1 0 32.1 1.9 47.7 5.7 15.6 3.6 30.9 8.7 45.5 15 12.7 5.6 24.8 12.4 36 20.2 9.5 6.5 18.1 14.2 25.5 22.8 14.6 17.4 25.9 37 33.3 58.1 7.1 19.4 12.3 39.3 15.5 59.6 3.5 21.8 5 43.8 4.4 65.8 4.2 2.3 7.5 5.7 9.4 9.8 2.7 4.7 4.5 9.8 5.5 15 1.3 7.4 1.3 14.9 0 22.3-1.2 9.5-4 18.8-8.3 27.5-3.2 6-7.5 11.5-12.8 16.1-4.8 4.1-10.5 7.1-16.6 8.8 0 8.8-5 17.6-7.8 25.4-2.8 7.8-6.7 14-10 20.7-3.2 6-7.5 11.5-12.8 16.1-4.7 3.9-9.7 7.6-15 10.9-4.4 2.7-8.5 5.9-12.2 9.3-3.7 3.4-6.7 7.5-8.9 11.9-2.6 5.5-4.5 11.2-5.5 17.1-1.1 8.4-1.1 17 0 25.4 0.7 8.8 3.1 17.4 7.2 25.4 4.9 9.4 11.9 17.7 20.5 24.4 11.4 8.8 24.4 15.8 38.3 20.7 15.7 5.8 31.8 10.7 48.2 14.5 17.2 4.1 87.6 32.1 103.7 37.8 15.4 5.4 29.9 12.7 43.3 21.8 12.2 9.2 21.4 21.4 26.6 35.2 2.9 10.8 4.4 21.6 4.6 32.4z" fill="" p-id="4552"></path></svg>
            </el-icon>
            <el-icon v-if="firstMenu.authName=='权限管理'">
              <svg t="1646893506242" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5392" width="200" height="200"><path d="M101.888 985.088l-20.48-130.56 270.336-371.712a278.2208 278.2208 0 0 1 16.896-304.128 279.3472 279.3472 0 0 1 183.808-112.64c74.24-11.776 148.48 6.144 209.408 50.176s100.864 109.568 112.64 183.808c11.776 74.24-6.144 148.48-50.176 209.408a279.3472 279.3472 0 0 1-183.808 112.64c-43.52 6.656-88.064 3.584-130.048-9.728l-15.36 20.992 1.024 94.208-98.816 39.936-151.552 208.896-143.872 8.704z m33.28-117.248l10.24 63.488 73.728-4.608 146.432-201.216 79.872-32.256-1.024-76.288 48.128-66.56 18.432 7.68c38.4 15.36 80.384 19.968 121.856 13.824 60.928-9.728 114.176-42.496 150.528-92.16 36.352-49.664 50.688-110.592 40.96-171.52-9.728-60.928-42.496-114.176-92.16-150.528s-110.592-50.688-171.52-40.96c-60.928 9.216-114.688 41.984-150.528 92.16-36.352 49.664-51.2 110.592-41.472 171.008 5.12 32.256 16.896 62.976 34.816 90.112l9.728 14.848-278.016 382.976z" p-id="5393"></path><path d="M685.568 372.736c-5.12 0-10.752-1.536-14.848-5.12l-136.704-99.328a25.8048 25.8048 0 0 1-9.728-28.16c12.288-42.496 48.64-74.24 92.672-81.408 30.72-4.608 60.928 2.56 85.504 20.48 25.088 17.92 41.472 45.056 46.08 75.264 6.656 43.52-12.288 88.064-48.64 113.152a21.504 21.504 0 0 1-14.336 5.12z m-104.96-133.632l103.424 75.264a64.0512 64.0512 0 0 0-11.264-93.184c-13.824-10.24-30.72-13.824-47.616-11.264-18.432 3.072-34.816 13.824-44.544 29.184z" p-id="5394"></path><path d="M851.968 972.8h-226.816c-14.336 0-25.6-11.264-25.6-25.6s11.264-25.6 25.6-25.6h226.816c14.336 0 25.6 11.264 25.6 25.6s-11.264 25.6-25.6 25.6z" p-id="5395"></path><path d="M763.392 870.4h-134.144c-14.336 0-25.6-11.264-25.6-25.6s11.264-25.6 25.6-25.6h134.144c14.336 0 25.6 11.264 25.6 25.6s-11.776 25.6-25.6 25.6z" p-id="5396"></path></svg>
            </el-icon>
            <el-icon v-if="firstMenu.authName=='部门管理'">
              <svg t="1705912602028" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1471" width="200" height="200"><path d="M960.3232 933.072H750.19306667c-15.088 0-27.31733333-12.2304-27.31733334-27.31946667V316.40213333c0-4.45226667 1.088-8.83733333 3.168-12.77333333l105.06666667-198.63786667a27.3184 27.3184 0 0 1 48.29653333 0l105.06666667 198.63786667a27.3184 27.3184 0 0 1 3.16906667 12.77333333v589.34933334c0 15.09013333-12.2304 27.32053333-27.31946667 27.32053333zM777.51253333 878.432h155.49226667V323.18186667l-77.7472-146.98773334-77.74613333 146.98773334v555.2512z" p-id="1472"></path><path d="M855.2576 376.4768c-2.74133333 0-5.48266667-0.41173333-8.1312-1.23733333l-105.06453333-32.7552c-14.40426667-4.49066667-22.44266667-19.808-17.95093334-34.21226667 4.49173333-14.4064 19.80906667-22.4448 34.21333334-17.94986667l96.9344 30.2208 96.9344-30.2208c14.40213333-4.49066667 29.7216 3.5456 34.21333333 17.94986667s-3.54666667 29.7216-17.94986667 34.21226667l-105.06666666 32.7552a27.34293333 27.34293333 0 0 1-8.13226667 1.23733333zM960.3232 815.2064H750.19306667c-15.088 0-27.31733333-12.2304-27.31733334-27.3184s12.22933333-27.31946667 27.31733334-27.31946667h210.1312c15.088 0 27.3184 12.23146667 27.3184 27.31946667s-12.2304 27.3184-27.31946667 27.3184zM642.94186667 933.072H65.08373333c-15.088 0-27.3184-12.2304-27.3184-27.31946667v-787.98933333c0-15.088 12.23146667-27.3184 27.3184-27.3184h577.85813334c15.08906667 0 27.31946667 12.23146667 27.31946666 27.3184v787.98933333c0 15.08906667-12.2304 27.31946667-27.31946666 27.31946667z m-550.53866667-54.63893333h523.2192V145.08373333H92.40213333V878.432z" p-id="1473"></path><path d="M537.8784 470.4928h-364.01066667c-15.088 0-27.31946667-12.23146667-27.31946666-27.31946667s12.23253333-27.31733333 27.31946666-27.31733333h364.01066667c15.088 0 27.3184 12.2304 27.3184 27.31733333s-12.2304 27.31946667-27.31733333 27.31946667zM537.8784 335.50826667h-364.01066667c-15.088 0-27.31946667-12.23253333-27.31946666-27.31946667s12.23253333-27.3184 27.31946666-27.3184h364.01066667c15.088 0 27.3184 12.23146667 27.3184 27.3184s-12.2304 27.31946667-27.31733333 27.31946667zM537.8784 605.4784h-364.01066667c-15.088 0-27.31946667-12.2304-27.31946666-27.3184s12.23253333-27.31946667 27.31946666-27.31946667h364.01066667c15.088 0 27.3184 12.2304 27.3184 27.31946667s-12.2304 27.31733333-27.31733333 27.31733333zM537.8784 740.464h-364.01066667c-15.088 0-27.31946667-12.2304-27.31946666-27.3184s12.23253333-27.3184 27.31946666-27.3184h364.01066667c15.088 0 27.3184 12.2304 27.3184 27.31733333s-12.2304 27.31946667-27.31733333 27.31946667z" p-id="1474"></path></svg>
            </el-icon>
            <el-icon v-if="firstMenu.authName=='工区管理'">
              <svg t="1705912602028" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1471" width="200" height="200"><path d="M960.3232 933.072H750.19306667c-15.088 0-27.31733333-12.2304-27.31733334-27.31946667V316.40213333c0-4.45226667 1.088-8.83733333 3.168-12.77333333l105.06666667-198.63786667a27.3184 27.3184 0 0 1 48.29653333 0l105.06666667 198.63786667a27.3184 27.3184 0 0 1 3.16906667 12.77333333v589.34933334c0 15.09013333-12.2304 27.32053333-27.31946667 27.32053333zM777.51253333 878.432h155.49226667V323.18186667l-77.7472-146.98773334-77.74613333 146.98773334v555.2512z" p-id="1472"></path><path d="M855.2576 376.4768c-2.74133333 0-5.48266667-0.41173333-8.1312-1.23733333l-105.06453333-32.7552c-14.40426667-4.49066667-22.44266667-19.808-17.95093334-34.21226667 4.49173333-14.4064 19.80906667-22.4448 34.21333334-17.94986667l96.9344 30.2208 96.9344-30.2208c14.40213333-4.49066667 29.7216 3.5456 34.21333333 17.94986667s-3.54666667 29.7216-17.94986667 34.21226667l-105.06666666 32.7552a27.34293333 27.34293333 0 0 1-8.13226667 1.23733333zM960.3232 815.2064H750.19306667c-15.088 0-27.31733333-12.2304-27.31733334-27.3184s12.22933333-27.31946667 27.31733334-27.31946667h210.1312c15.088 0 27.3184 12.23146667 27.3184 27.31946667s-12.2304 27.3184-27.31946667 27.3184zM642.94186667 933.072H65.08373333c-15.088 0-27.3184-12.2304-27.3184-27.31946667v-787.98933333c0-15.088 12.23146667-27.3184 27.3184-27.3184h577.85813334c15.08906667 0 27.31946667 12.23146667 27.31946666 27.3184v787.98933333c0 15.08906667-12.2304 27.31946667-27.31946666 27.31946667z m-550.53866667-54.63893333h523.2192V145.08373333H92.40213333V878.432z" p-id="1473"></path><path d="M537.8784 470.4928h-364.01066667c-15.088 0-27.31946667-12.23146667-27.31946666-27.31946667s12.23253333-27.31733333 27.31946666-27.31733333h364.01066667c15.088 0 27.3184 12.2304 27.3184 27.31733333s-12.2304 27.31946667-27.31733333 27.31946667zM537.8784 335.50826667h-364.01066667c-15.088 0-27.31946667-12.23253333-27.31946666-27.31946667s12.23253333-27.3184 27.31946666-27.3184h364.01066667c15.088 0 27.3184 12.23146667 27.3184 27.3184s-12.2304 27.31946667-27.31733333 27.31946667zM537.8784 605.4784h-364.01066667c-15.088 0-27.31946667-12.2304-27.31946666-27.3184s12.23253333-27.31946667 27.31946666-27.31946667h364.01066667c15.088 0 27.3184 12.2304 27.3184 27.31946667s-12.2304 27.31733333-27.31733333 27.31733333zM537.8784 740.464h-364.01066667c-15.088 0-27.31946667-12.2304-27.31946666-27.3184s12.23253333-27.3184 27.31946666-27.3184h364.01066667c15.088 0 27.3184 12.2304 27.3184 27.31733333s-12.2304 27.31946667-27.31733333 27.31946667z" p-id="1474"></path></svg>
            </el-icon>
            <el-icon v-if="firstMenu.authName=='材料管理'">
              <svg t="1699434640647" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9439" width="200" height="200"><path d="M1014.715733 850.2272L584.6528 105.301333c-26.350933-45.653333-92.245333-45.653333-118.613333 0l-163.2256 282.709334c-13.175467 22.818133 3.293867 51.3536 29.6448 51.3536h159.232c63.965867 0 120.183467 48.0768 124.330666 111.906133a119.0912 119.0912 0 0 1-20.0704 74.5472 33.723733 33.723733 0 0 0-0.136533 37.7344c12.919467 19.0976 20.462933 42.0864 20.462933 66.833067s-7.560533 47.735467-20.462933 66.833066a33.4848 33.4848 0 0 0 0 37.512534 118.852267 118.852267 0 0 1 19.8144 79.240533c-2.184533 20.667733 13.073067 38.946133 33.860267 38.946133h305.937066c52.701867 0.017067 85.6576-57.053867 59.2896-102.690133z" fill="#ffffff" p-id="9440"></path><path d="M496.452267 507.835733H51.3536A51.5072 51.5072 0 0 0 0 559.189333a51.5072 51.5072 0 0 0 51.3536 51.3536h445.098667a51.5072 51.5072 0 0 0 51.3536-51.3536 51.5072 51.5072 0 0 0-51.3536-51.3536zM496.452267 679.031467H51.3536A51.5072 51.5072 0 0 0 0 730.385067a51.5072 51.5072 0 0 0 51.3536 51.3536h445.098667a51.5072 51.5072 0 0 0 51.3536-51.3536 51.5072 51.5072 0 0 0-51.3536-51.3536zM496.452267 850.2272H51.3536A51.5072 51.5072 0 0 0 0 901.5808a51.5072 51.5072 0 0 0 51.3536 51.3536h445.098667a51.5072 51.5072 0 0 0 51.3536-51.3536 51.5072 51.5072 0 0 0-51.3536-51.3536z" fill="#ffffff" p-id="9441"></path></svg>            
            </el-icon>
            <el-icon v-if="firstMenu.authName=='产品管理'">
              <svg t="1646893610713" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6226" width="200" height="200"><path d="M691.2 870.4H307.2c-14.336 0-25.6-11.264-25.6-25.6s11.264-25.6 25.6-25.6h384c14.336 0 25.6 11.264 25.6 25.6s-11.264 25.6-25.6 25.6z" p-id="6227"></path><path d="M874.496 998.4H149.504c-42.496 0-76.8-34.304-76.8-76.8l0.512-7.168 58.368-614.4c3.584-39.936 36.352-69.632 76.288-69.632h608.256c39.936 0 72.704 29.696 76.288 69.632l58.368 614.4c2.048 20.48-4.096 40.448-17.408 56.32-12.8 15.872-31.744 25.6-52.224 27.648h-6.656zM207.872 281.6a25.6 25.6 0 0 0-25.6 23.04l-58.368 614.4c0 16.384 11.264 28.16 25.6 28.16h724.48c9.216-1.024 15.36-4.096 19.968-9.216s6.144-11.776 5.632-18.432l-58.368-614.4a25.2416 25.2416 0 0 0-25.6-23.04H207.872z" p-id="6228"></path><path d="M716.8 384c-14.336 0-25.6-11.264-25.6-25.6V256c0-98.816-80.384-179.2-179.2-179.2S332.8 157.184 332.8 256v102.4c0 14.336-11.264 25.6-25.6 25.6s-25.6-11.264-25.6-25.6V256C281.6 129.024 385.024 25.6 512 25.6s230.4 103.424 230.4 230.4v102.4c0 14.336-11.264 25.6-25.6 25.6z" p-id="6229"></path></svg>
            </el-icon>
            <el-icon v-if="firstMenu.authName=='盘点管理'">
              <svg t="1646893792115" class="icon" viewBox="0 0 1147 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7160" width="200" height="200"><path d="M799.721813 0.000044H113.779a113.64648 113.64648 0 0 0-113.74587 113.74587v685.975943a113.635437 113.635437 0 0 0 113.74587 113.74587h685.942813a113.635437 113.635437 0 0 0 113.74587-113.74587v-684.242147C913.467683 51.70472 863.496803 0.000044 799.721813 0.000044z m48.25917 749.73989a98.185877 98.185877 0 0 1-98.285267 98.285266h-585.95688a98.19692 98.19692 0 0 1-98.285266-98.285266V163.738881a98.19692 98.19692 0 0 1 98.285266-98.285267h586.001054a98.19692 98.19692 0 0 1 98.285266 98.285267z m0 0" p-id="7161"></path><path d="M791.108048 210.275298c0 24.118542-22.406832 43.068825-51.704676 43.068824h-570.496277c-27.608221 0-51.704676-18.961326-51.704676-43.068824v-43.068825c0-24.129585 22.406832-43.068825 51.704676-43.068824h570.496277c27.608221 0 51.704676 18.961326 51.704676 43.068824z m0 0M270.593695 444.669093h-55.150183a34.576536 34.576536 0 0 1-34.466102-34.466103v-55.150182a34.576536 34.576536 0 0 1 34.466102-34.477146h55.150183a34.576536 34.576536 0 0 1 34.466102 34.477146v55.150182a34.576536 34.576536 0 0 1-34.466102 34.466103z m0 0M479.146195 444.669093h-55.150182a34.576536 34.576536 0 0 1-34.477146-34.466103v-55.150182a34.576536 34.576536 0 0 1 34.477146-34.477146h55.150182a34.576536 34.576536 0 0 1 34.477146 34.477146v55.150182a34.576536 34.576536 0 0 1-34.477146 34.466103z m0 0M687.687652 444.669093h-55.139138a34.576536 34.576536 0 0 1-34.477147-34.466103v-55.150182a34.576536 34.576536 0 0 1 34.477147-34.477146h55.139138a34.576536 34.576536 0 0 1 34.477147 34.477146v55.150182a34.576536 34.576536 0 0 1-34.477147 34.466103z m0 0M270.593695 618.744447h-55.150183a34.565493 34.565493 0 0 1-34.466102-34.455059v-55.161226a34.576536 34.576536 0 0 1 34.466102-34.477146h55.150183a34.576536 34.576536 0 0 1 34.466102 34.477146v55.161226a34.565493 34.565493 0 0 1-34.466102 34.455059z m0 0M479.146195 618.744447h-55.150182a34.565493 34.565493 0 0 1-34.477146-34.455059v-55.161226a34.576536 34.576536 0 0 1 34.477146-34.477146h55.150182a34.576536 34.576536 0 0 1 34.477146 34.477146v55.161226a34.565493 34.565493 0 0 1-34.477146 34.466103z m0 0M687.687652 618.744447h-55.139138a34.565493 34.565493 0 0 1-34.477147-34.455059v-55.161226a34.576536 34.576536 0 0 1 34.477147-34.477146h55.139138a34.576536 34.576536 0 0 1 34.477147 34.477146v55.161226a34.565493 34.565493 0 0 1-34.477147 34.466103z m0 0M270.593695 784.172907h-55.150183a34.576536 34.576536 0 0 1-34.466102-34.466103v-55.216442a34.576536 34.576536 0 0 1 34.466102-34.466103h55.150183a34.576536 34.576536 0 0 1 34.466102 34.466103v55.216442a34.576536 34.576536 0 0 1-34.466102 34.466103z m0 0M479.146195 784.172907h-55.150182a34.576536 34.576536 0 0 1-34.477146-34.466103v-55.216442a34.576536 34.576536 0 0 1 34.477146-34.466103h55.150182a34.576536 34.576536 0 0 1 34.477146 34.466103v55.216442a34.576536 34.576536 0 0 1-34.477146 34.466103z m0 0M687.687652 784.172907h-55.139138a34.576536 34.576536 0 0 1-34.477147-34.466103v-55.216442a34.576536 34.576536 0 0 1 34.477147-34.466103h55.139138a34.576536 34.576536 0 0 1 34.477147 34.466103v55.216442a34.576536 34.576536 0 0 1-34.477147 34.466103z m0 0" p-id="7162"></path></svg>
            </el-icon>
            <el-icon v-if="firstMenu.authName=='采购管理'">
              <svg t="1646893836313" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7968" width="200" height="200"><path d="M320.22 879.87m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z" p-id="7969"></path><path d="M737.23 879.87m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z" p-id="7970"></path><path d="M917.93 195.85H198.37a32.22 32.22 0 0 0-4.48 0.32l-10.69-60.64q-0.08-0.44-0.17-0.88c-3.16-15.39-11.91-28.34-25.3-37.48-15.25-10.4-35.55-15.32-61.92-15a32 32 0 0 0 0.33 64h0.34c14.89-0.16 21.75 2.21 24.19 3.38L225.35 743.6A44.06 44.06 0 0 0 269.2 784H800a32 32 0 0 0 0-64H286.17l-7.9-44.83h543.32c21.19 0 38.75-15 41.54-34.39L959 243.13a32 32 0 0 0 0.89-7.5c-0.04-21.94-18.89-39.78-41.96-39.78z m-113.5 415.28H269.06c-0.69 0-1.37 0-2.05 0.07L205.1 259.85h684z" p-id="7971"></path></svg>
            </el-icon>
            <el-icon v-if="firstMenu.authName=='入库管理'">
              <svg t="1646894080311" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1269" width="200" height="200"><path d="M469.051 81.458c25.147-19.074 59.827-19.239 85.136-0.509l0.764 0.573 391.538 297.91c11.867 9.03 14.168 25.97 5.139 37.837-8.94 11.748-25.632 14.12-37.48 5.406l-0.357-0.268-391.539-297.91a17 17 0 0 0-20.256-0.246l-0.311 0.23-392.814 297.95c-11.88 9.012-28.817 6.686-37.829-5.195-8.921-11.761-6.73-28.478 4.842-37.556l0.353-0.272 392.814-297.95z" p-id="1270"></path><path d="M179 319c14.763 0 26.758 11.848 26.996 26.554L206 346v498.877c0 33.352 26.767 60.453 59.991 60.992l1.009 0.008h207.758c14.911 0 27 12.088 27 27 0 14.762-11.848 26.758-26.554 27H267c-62.878 0-113.97-50.463-114.985-113.099l-0.015-1.901V346c0-14.912 12.088-27 27-27z m666.047 0c14.763 0 26.758 11.848 26.996 26.554l0.004 0.446v190.635c0 14.912-12.088 27-27 27-14.763 0-26.758-11.848-26.996-26.554l-0.004-0.446V346c0-14.912 12.088-27 27-27z" p-id="1271"></path><path d="M697.188 960a36.611 36.611 0 0 0 16.406-3.87 36.638 36.638 0 0 0 20.281-32.773V813.43h183.438c20.258 0 36.687-16.41 36.687-36.643V630.214c0-20.233-16.43-36.642-36.687-36.642H733.875V483.643a36.638 36.638 0 0 0-20.28-32.774 36.725 36.725 0 0 0-38.42 3.46l-293.5 219.857a36.619 36.619 0 0 0 0 58.628l293.5 219.857A36.734 36.734 0 0 0 697.188 960zM908 754.017H730.232c-23.533 0-42.618 18.439-42.618 41.175V900L425 703.788 687.614 513v100.515c0 22.736 19.085 41.175 42.618 41.175H908v99.327z" p-id="1272"></path><path d="M309 613c11.046 0 20 8.954 20 20v51c0 11.046-8.954 20-20 20h-51c-11.046 0-20-8.954-20-20v-51c0-11.046 8.954-20 20-20h51z m0-135c11.046 0 20 8.954 20 20v52c0 11.046-8.954 20-20 20h-51c-11.046 0-20-8.954-20-20v-52c0-11.046 8.954-20 20-20h51z m143 0c11.046 0 20 8.954 20 20v52c0 11.046-8.954 20-20 20h-52c-11.046 0-20-8.954-20-20v-52c0-11.046 8.954-20 20-20h52zM309 339c11.046 0 20 8.954 20 20v51c0 11.046-8.954 20-20 20h-51c-11.046 0-20-8.954-20-20v-51c0-11.046 8.954-20 20-20h51z m143 0c11.046 0 20 8.954 20 20v51c0 11.046-8.954 20-20 20h-52c-11.046 0-20-8.954-20-20v-51c0-11.046 8.954-20 20-20h52z m142 0c11.046 0 20 8.954 20 20v51c0 11.046-8.954 20-20 20h-51c-11.046 0-20-8.954-20-20v-51c0-11.046 8.954-20 20-20h51z" p-id="1273"></path></svg>
            </el-icon>
            <el-icon v-if="firstMenu.authName=='出库管理'">
              <svg t="1646894171959" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3677" width="200" height="200"><path d="M469.051 81.458c25.147-19.074 59.827-19.239 85.136-0.509l0.764 0.573 391.538 297.91c11.867 9.03 14.168 25.97 5.139 37.837-8.94 11.748-25.632 14.12-37.48 5.406l-0.357-0.268-391.539-297.91a17 17 0 0 0-20.256-0.246l-0.311 0.23-392.814 297.95c-11.88 9.012-28.817 6.686-37.829-5.195-8.921-11.761-6.73-28.478 4.842-37.556l0.353-0.272 392.814-297.95z" p-id="3678"></path><path d="M179 319c14.763 0 26.758 11.848 26.996 26.554L206 346v498.877c0 33.352 26.767 60.453 59.991 60.992l1.009 0.008h207.758c14.911 0 27 12.088 27 27 0 14.762-11.848 26.758-26.554 27H267c-62.878 0-113.97-50.463-114.985-113.099l-0.015-1.901V346c0-14.912 12.088-27 27-27z m666.047 0c14.763 0 26.758 11.848 26.996 26.554l0.004 0.446v190.635c0 14.912-12.088 27-27 27-14.763 0-26.758-11.848-26.996-26.554l-0.004-0.446V346c0-14.912 12.088-27 27-27z" p-id="3679"></path><path d="M623.813 960a36.611 36.611 0 0 1-16.407-3.87 36.638 36.638 0 0 1-20.281-32.773V813.43H403.687c-20.258 0-36.687-16.41-36.687-36.643V630.214c0-20.233 16.43-36.642 36.687-36.642h183.438V483.643a36.638 36.638 0 0 1 20.28-32.774 36.725 36.725 0 0 1 38.42 3.46l293.5 219.857a36.619 36.619 0 0 1 0 58.628l-293.5 219.857A36.734 36.734 0 0 1 623.812 960zM419 754.017h177.768c23.533 0 42.618 18.439 42.618 41.175V900L902 703.788 639.386 513v100.515c0 22.736-19.085 41.175-42.618 41.175H419v99.327z" p-id="3680"></path><path d="M309 613c11.046 0 20 8.954 20 20v51c0 11.046-8.954 20-20 20h-51c-11.046 0-20-8.954-20-20v-51c0-11.046 8.954-20 20-20h51z m0-135c11.046 0 20 8.954 20 20v52c0 11.046-8.954 20-20 20h-51c-11.046 0-20-8.954-20-20v-52c0-11.046 8.954-20 20-20h51z m143 0c11.046 0 20 8.954 20 20v52c0 11.046-8.954 20-20 20h-52c-11.046 0-20-8.954-20-20v-52c0-11.046 8.954-20 20-20h52zM309 339c11.046 0 20 8.954 20 20v51c0 11.046-8.954 20-20 20h-51c-11.046 0-20-8.954-20-20v-51c0-11.046 8.954-20 20-20h51z m143 0c11.046 0 20 8.954 20 20v51c0 11.046-8.954 20-20 20h-52c-11.046 0-20-8.954-20-20v-51c0-11.046 8.954-20 20-20h52z m142 0c11.046 0 20 8.954 20 20v51c0 11.046-8.954 20-20 20h-51c-11.046 0-20-8.954-20-20v-51c0-11.046 8.954-20 20-20h51z" p-id="3681"></path></svg>
            </el-icon>
            <el-icon v-if="firstMenu.authName=='站内通知'">
              <svg t="1646894373899" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4775" width="200" height="200"><path d="M852 699.1c-24.8-17.2-40.6-44.9-40.6-76.8V436.2c0-136-100.2-249.6-234.3-277.7v-6.7c0-34.8-28.6-62.5-63.9-62.5s-63.9 28.2-63.9 62.5v6.7C315.2 186.6 215 299.7 215 436.2v185.6c0 30.1-13.8 56.3-35.8 73.5-2.4 1.9-3.8 2.9-10.5 7.6-10.5 7.6-17.2 19.6-17.2 33.9 0 22.9 19.1 42 42.5 42h639c23.4 0 42.5-18.6 42.5-42 0-14.8-7.6-27.7-19.6-35.3-2-0.9-2.5-1.9-3.9-2.4zM513.2 925.3c58.7 0 106.4-46.8 106.4-104.5H406.8c0 57.3 47.7 104.5 106.4 104.5z" p-id="4776"></path></svg>
            </el-icon>
            <el-icon v-if="firstMenu.authName=='调货管理'">
              <svg t="1646894462652" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5110" width="200" height="200"><path d="M731.428571 658.285714a146.285714 146.285714 0 1 0 146.285715 146.285715 146.285714 146.285714 0 0 0-146.285715-146.285715z m0 219.428572a73.142857 73.142857 0 1 1 73.142858-73.142857 73.142857 73.142857 0 0 1-73.142858 73.142857zM256 731.428571A109.714286 109.714286 0 1 0 365.714286 841.142857 109.714286 109.714286 0 0 0 256 731.428571z m36.571429 146.285715H219.428571v-73.142857h73.142858z" p-id="5111"></path><path d="M365.714286 73.142857v73.142857H219.428571L0 438.857143v438.857143h219.428571v-73.142857H73.142857V585.142857h292.571429v219.428572H292.571429v73.142857h365.714285v-73.142857H438.857143V146.285714h512v658.285715h-146.285714v73.142857h219.428571V73.142857z m0 438.857143H73.142857V438.857143l146.285714-219.428572h146.285715z" p-id="5112"></path></svg>
            </el-icon>
            <el-icon v-if="firstMenu.authName=='仓库管理'">
              <svg t="1646894528224" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5942" width="200" height="200"><path d="M948.57 424.58L532.7 71.75a32 32 0 0 0-41.4 0L75.43 424.58a32 32 0 0 0 41.4 48.8L127.9 464v454a41.91 41.91 0 0 0 41.86 41.86h684.53A41.91 41.91 0 0 0 896.15 918V464l11 9.34a32 32 0 0 0 41.4-48.8z m-116.42-14.37v485.64H191.9V410.21v-0.5L512 138.12l320.16 271.63c0 0.15-0.01 0.3-0.01 0.46z" p-id="5943"></path><path d="M255.85 735.78m12 0l72 0q12 0 12 12l0 72q0 12-12 12l-72 0q-12 0-12-12l0-72q0-12 12-12Z" p-id="5944"></path><path d="M447.89 735.78m12 0l72 0q12 0 12 12l0 72q0 12-12 12l-72 0q-12 0-12-12l0-72q0-12 12-12Z" p-id="5945"></path><path d="M255.85 607.94m12 0l72 0q12 0 12 12l0 72q0 12-12 12l-72 0q-12 0-12-12l0-72q0-12 12-12Z" p-id="5946"></path><path d="M255.85 480.46m12 0l72 0q12 0 12 12l0 72q0 12-12 12l-72 0q-12 0-12-12l0-72q0-12 12-12Z" p-id="5947"></path><path d="M447.89 607.94m12 0l72 0q12 0 12 12l0 72q0 12-12 12l-72 0q-12 0-12-12l0-72q0-12 12-12Z" p-id="5948"></path><path d="M639.92 735.78m12 0l72 0q12 0 12 12l0 72q0 12-12 12l-72 0q-12 0-12-12l0-72q0-12 12-12Z" p-id="5949"></path></svg>
            </el-icon>
            <el-icon v-if="firstMenu.authName=='供货商管理'">
              <svg t="1646894618011" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6497" width="200" height="200"><path d="M951.584 223.2v-152.96c0-21.152-17.088-38.24-38.208-38.24H106.016c-21.12 0-38.176 17.088-38.176 38.208v152.992A38.176 38.176 0 0 0 32 261.28v157.312c0 29.12 5.76 57.44 17.184 84.064 5.12 12.16 11.488 23.68 18.656 34.528v412c0 21.024 17.056 38.24 38.208 38.24h807.328c21.12 0 38.208-17.088 38.208-38.24V537.184a213.472 213.472 0 0 0 35.84-118.592V261.312c0-20.32-15.904-36.928-35.84-38.08zM153.824 117.984H865.6v105.088H153.824V117.984z m432.32 783.552H433.28v-124.32h152.864v124.32z m279.456 0h-203.04v-162.56c0-21.12-17.056-38.176-38.208-38.176h-229.28c-21.152 0-38.24 17.056-38.24 38.208v162.56H153.824v-289.28a215.264 215.264 0 0 0 94.816 21.632 215.68 215.68 0 0 0 84.064-16.864c16.48-6.912 32-15.744 46.24-26.368a0.768 0.768 0 0 1 0.704 0c14.208 10.624 29.632 19.456 46.208 26.368 26.656 11.232 54.944 16.864 84.096 16.864a215.68 215.68 0 0 0 84.064-16.864c16.48-6.912 32-15.744 46.24-26.368a0.768 0.768 0 0 1 0.704 0c14.208 10.624 29.6 19.456 46.208 26.368 26.624 11.232 54.944 16.864 84.096 16.864a215.68 215.68 0 0 0 84.064-16.864c3.584-1.536 7.168-3.104 10.752-4.768v289.28h-0.48z m35.84-482.944c0 71.424-58.56 129.344-130.56 129.344a130.784 130.784 0 0 1-113.696-65.6 19.104 19.104 0 0 0-16.576-9.664h-0.736a19.264 19.264 0 0 0-16.576 9.696 130.464 130.464 0 0 1-113.6 65.568 130.56 130.56 0 0 1-113.44-65.344 19.712 19.712 0 0 0-34.144 0 130.944 130.944 0 0 1-113.6 65.344c-72 0-130.528-57.92-130.528-129.344V309.664c0-0.352 0.256-0.608 0.608-0.608H900.8c0.352 0 0.608 0.256 0.608 0.64v108.896z" p-id="6498"></path></svg>
            </el-icon>
            <el-icon v-if="firstMenu.authName=='合同管理'">
              <svg t="1695869414996" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5520" width="200" height="200"><path d="M561.493333 836.266667c-6.826667 0-15.36-1.706667-20.48-6.826667-10.24-8.533333-17.066667-22.186667-13.653333-34.133333l5.12-27.306667-20.48-20.48c-10.24-10.24-13.653333-23.893333-8.533333-35.84 3.413333-13.653333 15.36-22.186667 29.013333-23.893333l29.013333-3.413334 11.946667-25.6c5.12-11.946667 18.773333-20.48 30.72-20.48 13.653333 0 25.6 6.826667 32.426667 18.773334L648.533333 682.666667l29.013334 3.413333c13.653333 1.706667 23.893333 11.946667 29.013333 23.893333 3.413333 13.653333 0 27.306667-8.533333 35.84L675.84 768l5.12 27.306667c1.706667 13.653333-3.413333 27.306667-13.653333 34.133333-10.24 8.533333-25.6 8.533333-37.546667 3.413333l-27.306667-13.653333-25.6 13.653333c-3.413333 3.413333-10.24 3.413333-15.36 3.413334z m68.266667-32.426667z m22.186667-17.066667z m-81.92-54.613333l17.066666 17.066667-3.413333 23.893333 20.48-10.24 20.48 10.24-3.413333-23.893333 17.066666-17.066667-23.893333-3.413333-10.24-20.48-10.24 20.48-23.893333 3.413333z m98.986666 5.12z m-51.2-58.026667z" fill="#ffffff" p-id="5521"></path><path d="M727.04 989.866667H201.386667c-78.506667 0-141.653333-63.146667-141.653334-141.653334v-580.266666c0-78.506667 63.146667-141.653333 141.653334-141.653334h525.653333c78.506667 0 141.653333 63.146667 141.653333 141.653334v578.56c1.706667 80.213333-63.146667 143.36-141.653333 143.36zM201.386667 177.493333c-49.493333 0-90.453333 40.96-90.453334 90.453334v578.56c0 49.493333 40.96 90.453333 90.453334 90.453333h525.653333c49.493333 0 90.453333-40.96 90.453333-90.453333V267.946667c0-49.493333-40.96-90.453333-90.453333-90.453334H201.386667z" fill="#ffffff" p-id="5522"></path><path d="M940.373333 976.213333c-13.653333 0-25.6-11.946667-25.6-25.6v-785.066666c0-44.373333-35.84-80.213333-80.213333-80.213334H201.386667c-13.653333 0-25.6-11.946667-25.6-25.6S186.026667 34.133333 201.386667 34.133333H836.266667c71.68 0 131.413333 58.026667 131.413333 131.413334v786.773333c-1.706667 13.653333-13.653333 23.893333-27.306667 23.893333z" fill="#ffffff" p-id="5523"></path><path d="M701.44 380.586667H361.813333c-13.653333 0-25.6-11.946667-25.6-25.6s11.946667-25.6 25.6-25.6h339.626667c13.653333 0 25.6 11.946667 25.6 25.6s-11.946667 25.6-25.6 25.6zM249.173333 380.586667h-29.013333c-13.653333 0-25.6-11.946667-25.6-25.6s11.946667-25.6 25.6-25.6h29.013333c13.653333 0 25.6 11.946667 25.6 25.6s-11.946667 25.6-25.6 25.6zM477.866667 546.133333h-116.053334c-13.653333 0-25.6-11.946667-25.6-25.6s11.946667-25.6 25.6-25.6H477.866667c13.653333 0 25.6 11.946667 25.6 25.6S491.52 546.133333 477.866667 546.133333zM249.173333 546.133333h-29.013333c-13.653333 0-25.6-11.946667-25.6-25.6s11.946667-25.6 25.6-25.6h29.013333c13.653333 0 25.6 11.946667 25.6 25.6s-11.946667 25.6-25.6 25.6z" fill="#ffffff" p-id="5524"></path><path d="M602.453333 919.893333c-100.693333 0-182.613333-81.92-182.613333-182.613333s81.92-182.613333 182.613333-182.613333S785.066667 636.586667 785.066667 737.28c0 49.493333-18.773333 93.866667-52.906667 128-34.133333 35.84-80.213333 54.613333-129.706667 54.613333z m0-314.026666c-71.68 0-131.413333 58.026667-131.413333 131.413333s58.026667 131.413333 131.413333 131.413333c34.133333 0 68.266667-13.653333 92.16-37.546666 23.893333-25.6 37.546667-58.026667 37.546667-92.16 1.706667-73.386667-56.32-133.12-129.706667-133.12z m110.933334 242.346666z" fill="#ffffff" p-id="5525"></path><path d="M593.92 964.266667H208.213333c-61.44 0-112.64-51.2-112.64-112.64V385.706667c0-61.44 51.2-112.64 112.64-112.64h385.706667c61.44 0 112.64 51.2 112.64 112.64v464.213333c1.706667 63.146667-49.493333 114.346667-112.64 114.346667z" fill="#ffffff" opacity=".3" p-id="5526"></path></svg>
            </el-icon>
            <el-icon v-if="firstMenu.authName=='考勤管理'">
              <svg t="1695869354112" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4219" width="200" height="200"><path d="M941.719269 230.141055C941.719269 205.299255 921.602814 185.182797 896.761012 185.182797L127.54276 185.182797C102.700959 185.182797 82.584501 205.299255 82.584501 230.141055L82.584501 907.282633C82.584501 932.124434 102.700959 952.240894 127.54276 952.240894L896.761012 952.240894C921.602814 952.240894 941.719269 932.124434 941.719269 907.282633L941.719269 230.141055 941.719269 230.141055ZM1003.08122 907.282633C1003.08122 966.011892 955.490267 1013.602841 896.761012 1013.602841L127.54276 1013.602841C68.813503 1013.602841 21.222554 966.011892 21.222554 907.282633L21.222554 230.141055C21.222554 171.411799 68.813503 123.82085 127.54276 123.82085L896.761012 123.82085C955.490267 123.82085 1003.08122 171.411799 1003.08122 230.141055L1003.08122 907.282633 1003.08122 907.282633ZM236.023122 292.583081C219.079395 292.583081 205.308396 278.812083 205.308396 261.868355L205.308396 31.744176C205.308396 14.800448 219.079395 1.02945 236.023122 1.02945 252.966851 1.02945 266.737849 14.800448 266.737849 31.744176L266.737849 261.868355C266.670344 278.812083 252.966851 292.583081 236.023122 292.583081M772.957041 292.583081C756.01331 292.583081 742.242312 278.812083 742.242312 261.868355L742.242312 31.744176C742.242312 14.800448 756.01331 1.02945 772.957041 1.02945 789.900767 1.02945 803.604259 14.800448 803.604259 31.744176L803.604259 261.868355C803.671765 278.812083 789.900767 292.583081 772.957041 292.583081M969.261269 358.602866 48.76455 358.602866C40.258934 358.602866 33.440939 351.717367 33.440939 343.279256 33.440939 334.773639 40.326438 327.955645 48.76455 327.955645L969.261269 327.955645C977.766883 327.955645 984.584876 334.841144 984.584876 343.279256 984.584876 351.784872 977.766883 358.602866 969.261269 358.602866M243.921195 523.517317C245.541312 525.002428 247.768974 525.879992 250.131645 525.812486 252.561821 525.74498 254.654473 524.732408 256.207085 523.112288L273.960872 504.615948 273.893367 504.48094 357.666939 417.939669C359.219551 416.387056 360.097115 414.226899 360.02961 411.864228 359.962105 409.56906 358.882027 407.476409 357.26191 405.991301L342.410833 391.680264C340.790716 390.195156 337.685491 389.317592 335.255315 389.385097 332.892643 389.452602 331.677556 390.465176 330.192448 392.017788L284.086606 444.064059C274.365902 454.662328 251.819267 478.154031 247.498954 478.154031 243.246146 478.154031 237.575735 471.133524 235.955617 469.648417L217.121752 452.367163C215.43413 450.882056 213.273974 450.004492 210.843798 450.071994 208.481126 450.139501 206.32097 451.152073 204.768357 452.772192L192.955001 465.058083C191.402388 466.678198 190.524825 468.838355 190.59233 471.133524 190.659835 473.496195 191.672408 475.588846 193.292525 477.073953L243.921195 523.517317 243.921195 523.517317ZM486.331265 523.517317C487.95138 525.002428 490.179043 525.879992 492.541714 525.812486 494.971892 525.74498 497.064542 524.732408 498.617156 523.112288L516.438446 504.615948 516.303438 504.48094 600.077009 417.939669C601.629622 416.387056 602.507186 414.226899 602.43968 411.864228 602.372174 409.56906 601.359602 407.476409 599.739486 405.991301L584.888406 391.680264C583.268291 390.195156 580.095562 389.317592 577.665384 389.385097 575.302713 389.452602 574.087627 390.465176 572.602515 392.017788L526.56418 444.064059C516.775973 454.662328 494.229336 478.154031 489.909023 478.154031 485.656216 478.154031 479.985803 471.133524 478.365688 469.648417L459.531821 452.367163C457.911706 450.882056 455.684043 450.004492 453.321372 450.071994 450.958701 450.139501 448.798544 451.152073 447.24593 452.772192L435.365069 465.058083C433.81246 466.678198 432.934896 468.838355 433.002398 471.133524 433.069904 473.496195 434.149982 475.588846 435.770102 477.073953L486.331265 523.517317 486.331265 523.517317ZM720.033202 523.517317C721.653322 525.002428 723.88098 525.879992 726.243652 525.812486 728.673829 525.74498 730.766479 524.732408 732.319093 523.112288L750.140383 504.548446 750.005375 504.413434 833.778946 417.872163C835.331559 416.319549 836.209123 414.159393 836.141617 411.796722 836.074115 409.434051 835.061539 407.341399 833.441423 405.856291L818.590347 391.545254C816.970228 390.060146 813.797499 389.182583 811.434828 389.250088 809.072157 389.317592 807.85707 390.330166 806.304457 391.882778L760.266117 443.929051C750.47791 454.459814 727.931277 478.019023 723.610964 478.019023 719.358153 478.019023 713.687745 470.998512 712.067625 469.513404L693.233762 452.232151C691.613643 450.747044 689.453486 449.86948 687.023309 449.936986 684.660638 450.004492 682.500481 451.017064 680.947872 452.63718L669.06701 464.990577C667.514397 466.54319 666.636833 468.703347 666.704339 471.066018 666.771841 473.428689 667.851919 475.521339 669.404533 477.006447L720.033202 523.517317 720.033202 523.517317ZM241.423514 696.127328C243.043631 697.612435 245.271293 698.489999 247.633964 698.422497 250.06414 698.354991 252.156792 697.342419 253.709404 695.722299L271.530696 677.158453 271.463191 677.090951 355.236763 590.549676C356.789375 588.997067 357.666939 586.83691 357.599434 584.474239 357.531929 582.111568 356.519356 580.018913 354.899239 578.533806L340.048162 564.222771C338.36054 562.805166 335.255315 561.927602 332.825138 561.995108 330.462467 562.062615 329.247379 563.075187 327.694767 564.6278L281.65643 616.674071C271.935725 627.272339 249.389091 650.764042 245.068778 650.764042 240.81597 650.764042 235.145559 643.743531 233.525441 642.258424L214.624071 624.977175C213.003954 623.492063 210.843798 622.614503 208.413621 622.682006 206.05095 622.749512 203.890794 623.762084 202.338181 625.382203L190.524825 637.668094C188.972212 639.220703 188.094649 641.38086 188.162154 643.743531 188.229658 646.106206 189.242232 648.198857 190.862349 649.683964L241.423514 696.127328 241.423514 696.127328ZM241.423514 869.547397C243.043631 871.032508 245.271293 871.910072 247.633964 871.842566 250.06414 871.77506 252.156792 870.762488 253.709404 869.142368L271.530696 850.578526 271.395686 850.443514 355.169258 763.902243C356.72187 762.282123 357.599434 760.189473 357.531929 757.826802 357.464424 755.464131 356.451851 753.37148 354.831734 751.886373L339.980657 737.575334C338.36054 736.090227 335.18781 735.212663 332.825138 735.280169 330.462467 735.347671 329.247379 736.360247 327.762271 737.912857L281.723935 789.959131C271.935725 800.489894 249.389091 824.049103 245.068778 824.049103 240.81597 824.049103 235.145559 817.028592 233.525441 815.543484L214.691576 798.262231C213.003954 796.912136 210.843798 796.034572 208.413621 796.102074 206.05095 796.169581 203.890794 797.182153 202.338181 798.802272L190.45732 811.155669C188.904707 812.708278 188.027144 814.868435 188.094649 817.231106 188.162154 819.593777 189.242232 821.686432 190.862349 823.171539L241.423514 869.547397 241.423514 869.547397ZM483.901088 696.127328C485.521207 697.612435 487.748866 698.489999 490.111537 698.422497 492.541714 698.354991 494.634365 697.342419 496.186978 695.722299L514.008269 677.158453 513.873261 677.090951 597.646832 590.549676C599.199445 588.997067 600.077009 586.83691 600.009503 584.474239 599.942001 582.17907 598.861922 580.086419 597.241803 578.601312L582.390727 564.290273C580.770611 562.805166 577.665384 561.927602 575.235207 561.995108 572.872536 562.062615 571.657449 563.075187 570.172342 564.6278L524.134003 616.674071C514.345796 627.272339 491.799163 650.764042 487.47885 650.764042 483.226038 650.764042 477.55563 643.743531 475.935511 642.258424L457.101648 624.977175C455.481528 623.492063 453.253865 622.614503 450.891194 622.682006 448.461021 622.749512 446.300865 623.762084 444.815757 625.314697L432.934896 637.668094C431.382282 639.220703 430.504718 641.38086 430.572225 643.743531 430.639727 646.106206 431.719805 648.198857 433.339924 649.683964L483.901088 696.127328 483.901088 696.127328ZM717.603029 696.127328C719.223144 697.612435 721.450807 698.489999 723.813478 698.422497 726.243652 698.354991 728.336306 697.342419 729.888915 695.722299L747.71021 677.158453 747.575198 677.023445 831.348773 590.482174C832.901382 588.929561 833.778946 586.769404 833.711444 584.406733 833.643938 582.044062 832.631366 579.951411 831.011246 578.4663L816.16017 564.155265C814.540055 562.670158 811.367322 561.792594 809.00465 561.8601 806.641979 561.927602 805.426893 562.940178 803.874279 564.492788L757.835944 616.674071C748.047733 627.204833 725.5011 650.764042 721.180787 650.764042 716.92798 650.764042 711.257567 643.743531 709.637448 642.258424L690.803585 624.977175C689.183465 623.492063 687.023309 622.614503 684.593136 622.682006 682.230465 622.749512 680.070308 623.762084 678.517694 625.382203L666.636833 637.735596C665.084219 639.288209 664.206655 641.448366 664.274162 643.811037 664.341668 646.173708 665.421746 648.266363 666.974355 649.75147L717.603029 696.127328 717.603029 696.127328ZM730.496463 769.572651C711.460082 769.572651 696.271483 769.505149 696.271483 769.505149L696.271483 866.23966C696.271483 866.23966 711.460082 866.172154 730.496463 866.172154L758.038458 866.172154C777.074835 866.172154 792.938488 866.23966 792.938488 866.23966L792.938488 769.505149C792.938488 769.505149 777.074835 769.572651 758.038458 769.572651L730.496463 769.572651 730.496463 769.572651ZM454.468956 769.505149 454.468956 804.067652 454.468956 866.172154C454.468956 866.172154 469.927576 866.104648 488.963957 866.104648L516.505952 866.104648C535.542329 866.104648 551.135961 866.172154 551.135961 866.172154L551.000953 804.067652C551.000953 785.031274 551.135961 769.505149 551.135961 769.505149L454.468956 769.505149 454.468956 769.505149Z" fill="#ffffff" p-id="4220"></path></svg>
            </el-icon>
            <el-icon v-if="firstMenu.authName=='任务中心'">
              <svg t="1697187669489" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1510" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M831.825474 63.940169H191.939717C121.2479 63.940169 63.940169 121.2479 63.940169 191.939717v639.885757C63.940169 902.517291 121.2479 959.825022 191.939717 959.825022h639.885757c70.691817 0 127.999548-57.307731 127.999548-127.999548V191.939717C959.825022 121.2479 902.517291 63.940169 831.825474 63.940169zM895.884854 831.998871A63.835408 63.835408 0 0 1 831.912173 895.884854H192.087827c-17.112123 0-33.270563-6.574639-45.372232-18.67631S127.880338 849.110994 127.880338 831.998871V192.001129A64.236389 64.236389 0 0 1 192.087827 127.880338h639.824346A64.037705 64.037705 0 0 1 895.884854 192.001129v639.997742z" fill="" p-id="1511"></path><path d="M791.998335 351.851551h-255.999097a31.970084 31.970084 0 0 0 0 63.940169h255.999097a31.970084 31.970084 0 0 0 0-63.940169zM791.998335 607.973471h-255.999097a31.970084 31.970084 0 0 0 0 63.940169h255.999097a31.970084 31.970084 0 0 0 0-63.940169zM344.001722 527.997686c-61.855792 0-111.985607 50.144265-111.985607 111.985606s50.144265 111.985607 111.985607 111.985607 111.985607-50.144265 111.985606-111.985607-50.129815-111.985607-111.985606-111.985606z m33.982213 145.982269a48.045438 48.045438 0 1 1 14.088511-33.982213 47.745605 47.745605 0 0 1-14.088511 33.985826zM417.395643 297.394035L311.999125 402.78694 270.6078 361.392003a31.970084 31.970084 0 1 0-45.213286 45.213285l63.997968 64.001581a31.970084 31.970084 0 0 0 45.213286 0l127.999548-127.999549a31.970084 31.970084 0 0 0-45.209673-45.213285z" fill="" p-id="1512"></path></svg>
            </el-icon>
            <el-icon v-if="firstMenu.authName=='汇总管理'">
              <svg t="1699434046573" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4071" width="200" height="200"><path d="M864 768H480c-17.6 0-32-14.4-32-32s14.4-32 32-32h384c17.6 0 32 14.4 32 32s-14.4 32-32 32zM864 640H480c-17.6 0-32-14.4-32-32s14.4-32 32-32h384c17.6 0 32 14.4 32 32s-14.4 32-32 32z" p-id="4072"></path><path d="M928 960H96c-11.6 0-22.28-6.27-27.94-16.4a32.02 32.02 0 0 1 0.69-32.39l245.67-398.73L68.74 112.76A32.006 32.006 0 0 1 96 64h832c17.67 0 32 14.33 32 32s-14.33 32-32 32H153.23l226.03 367.74a31.993 31.993 0 0 1-0.02 33.54L153.3 896H928c17.67 0 32 14.33 32 32s-14.33 32-32 32z" p-id="4073"></path><path d="M498 242m-50 0a50 50 0 1 0 100 0 50 50 0 1 0-100 0Z" p-id="4074"></path><path d="M672 242m-50 0a50 50 0 1 0 100 0 50 50 0 1 0-100 0Z" p-id="4075"></path><path d="M846 242m-50 0a50 50 0 1 0 100 0 50 50 0 1 0-100 0Z" p-id="4076"></path><path d="M498 397m-50 0a50 50 0 1 0 100 0 50 50 0 1 0-100 0Z" p-id="4077"></path><path d="M672 397m-50 0a50 50 0 1 0 100 0 50 50 0 1 0-100 0Z" p-id="4078"></path><path d="M846 397m-50 0a50 50 0 1 0 100 0 50 50 0 1 0-100 0Z" p-id="4079"></path></svg>
            </el-icon>
            <el-icon v-if="firstMenu.authName=='工作台'">
              <svg t="1699502145457" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4367" width="200" height="200"><path d="M373.6 153.7v220h-220v-220h220m90-90h-400v400h400v-400z m408.3 90v220h-220v-220h220m90-90h-400v400h400v-400zM373.6 647.6v220h-220v-220h220m90-90h-400v400h400v-400z m268.5 310.6h-80.2v-220h220v83.9h90V558.2h-400v400h170.2v-90z" p-id="4368"></path></svg>
            </el-icon>
            <el-icon v-if="firstMenu.authName=='日志管理'">
              <svg t="1705912602028" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1471" width="200" height="200"><path d="M960.3232 933.072H750.19306667c-15.088 0-27.31733333-12.2304-27.31733334-27.31946667V316.40213333c0-4.45226667 1.088-8.83733333 3.168-12.77333333l105.06666667-198.63786667a27.3184 27.3184 0 0 1 48.29653333 0l105.06666667 198.63786667a27.3184 27.3184 0 0 1 3.16906667 12.77333333v589.34933334c0 15.09013333-12.2304 27.32053333-27.31946667 27.32053333zM777.51253333 878.432h155.49226667V323.18186667l-77.7472-146.98773334-77.74613333 146.98773334v555.2512z" p-id="1472"></path><path d="M855.2576 376.4768c-2.74133333 0-5.48266667-0.41173333-8.1312-1.23733333l-105.06453333-32.7552c-14.40426667-4.49066667-22.44266667-19.808-17.95093334-34.21226667 4.49173333-14.4064 19.80906667-22.4448 34.21333334-17.94986667l96.9344 30.2208 96.9344-30.2208c14.40213333-4.49066667 29.7216 3.5456 34.21333333 17.94986667s-3.54666667 29.7216-17.94986667 34.21226667l-105.06666666 32.7552a27.34293333 27.34293333 0 0 1-8.13226667 1.23733333zM960.3232 815.2064H750.19306667c-15.088 0-27.31733333-12.2304-27.31733334-27.3184s12.22933333-27.31946667 27.31733334-27.31946667h210.1312c15.088 0 27.3184 12.23146667 27.3184 27.31946667s-12.2304 27.3184-27.31946667 27.3184zM642.94186667 933.072H65.08373333c-15.088 0-27.3184-12.2304-27.3184-27.31946667v-787.98933333c0-15.088 12.23146667-27.3184 27.3184-27.3184h577.85813334c15.08906667 0 27.31946667 12.23146667 27.31946666 27.3184v787.98933333c0 15.08906667-12.2304 27.31946667-27.31946666 27.31946667z m-550.53866667-54.63893333h523.2192V145.08373333H92.40213333V878.432z" p-id="1473"></path><path d="M537.8784 470.4928h-364.01066667c-15.088 0-27.31946667-12.23146667-27.31946666-27.31946667s12.23253333-27.31733333 27.31946666-27.31733333h364.01066667c15.088 0 27.3184 12.2304 27.3184 27.31733333s-12.2304 27.31946667-27.31733333 27.31946667zM537.8784 335.50826667h-364.01066667c-15.088 0-27.31946667-12.23253333-27.31946666-27.31946667s12.23253333-27.3184 27.31946666-27.3184h364.01066667c15.088 0 27.3184 12.23146667 27.3184 27.3184s-12.2304 27.31946667-27.31733333 27.31946667zM537.8784 605.4784h-364.01066667c-15.088 0-27.31946667-12.2304-27.31946666-27.3184s12.23253333-27.31946667 27.31946666-27.31946667h364.01066667c15.088 0 27.3184 12.2304 27.3184 27.31946667s-12.2304 27.31733333-27.31733333 27.31733333zM537.8784 740.464h-364.01066667c-15.088 0-27.31946667-12.2304-27.31946666-27.3184s12.23253333-27.3184 27.31946666-27.3184h364.01066667c15.088 0 27.3184 12.2304 27.3184 27.31733333s-12.2304 27.31946667-27.31733333 27.31946667z" p-id="1474"></path></svg>
            </el-icon>
            <el-icon v-if="firstMenu.authName=='施工管理'">
              <svg t="1705912602028" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1471" width="200" height="200"><path d="M960.3232 933.072H750.19306667c-15.088 0-27.31733333-12.2304-27.31733334-27.31946667V316.40213333c0-4.45226667 1.088-8.83733333 3.168-12.77333333l105.06666667-198.63786667a27.3184 27.3184 0 0 1 48.29653333 0l105.06666667 198.63786667a27.3184 27.3184 0 0 1 3.16906667 12.77333333v589.34933334c0 15.09013333-12.2304 27.32053333-27.31946667 27.32053333zM777.51253333 878.432h155.49226667V323.18186667l-77.7472-146.98773334-77.74613333 146.98773334v555.2512z" p-id="1472"></path><path d="M855.2576 376.4768c-2.74133333 0-5.48266667-0.41173333-8.1312-1.23733333l-105.06453333-32.7552c-14.40426667-4.49066667-22.44266667-19.808-17.95093334-34.21226667 4.49173333-14.4064 19.80906667-22.4448 34.21333334-17.94986667l96.9344 30.2208 96.9344-30.2208c14.40213333-4.49066667 29.7216 3.5456 34.21333333 17.94986667s-3.54666667 29.7216-17.94986667 34.21226667l-105.06666666 32.7552a27.34293333 27.34293333 0 0 1-8.13226667 1.23733333zM960.3232 815.2064H750.19306667c-15.088 0-27.31733333-12.2304-27.31733334-27.3184s12.22933333-27.31946667 27.31733334-27.31946667h210.1312c15.088 0 27.3184 12.23146667 27.3184 27.31946667s-12.2304 27.3184-27.31946667 27.3184zM642.94186667 933.072H65.08373333c-15.088 0-27.3184-12.2304-27.3184-27.31946667v-787.98933333c0-15.088 12.23146667-27.3184 27.3184-27.3184h577.85813334c15.08906667 0 27.31946667 12.23146667 27.31946666 27.3184v787.98933333c0 15.08906667-12.2304 27.31946667-27.31946666 27.31946667z m-550.53866667-54.63893333h523.2192V145.08373333H92.40213333V878.432z" p-id="1473"></path><path d="M537.8784 470.4928h-364.01066667c-15.088 0-27.31946667-12.23146667-27.31946666-27.31946667s12.23253333-27.31733333 27.31946666-27.31733333h364.01066667c15.088 0 27.3184 12.2304 27.3184 27.31733333s-12.2304 27.31946667-27.31733333 27.31946667zM537.8784 335.50826667h-364.01066667c-15.088 0-27.31946667-12.23253333-27.31946666-27.31946667s12.23253333-27.3184 27.31946666-27.3184h364.01066667c15.088 0 27.3184 12.23146667 27.3184 27.3184s-12.2304 27.31946667-27.31733333 27.31946667zM537.8784 605.4784h-364.01066667c-15.088 0-27.31946667-12.2304-27.31946666-27.3184s12.23253333-27.31946667 27.31946666-27.31946667h364.01066667c15.088 0 27.3184 12.2304 27.3184 27.31946667s-12.2304 27.31733333-27.31733333 27.31733333zM537.8784 740.464h-364.01066667c-15.088 0-27.31946667-12.2304-27.31946666-27.3184s12.23253333-27.3184 27.31946666-27.3184h364.01066667c15.088 0 27.3184 12.2304 27.3184 27.31733333s-12.2304 27.31946667-27.31733333 27.31946667z" p-id="1474"></path></svg>
            </el-icon>

            <span>{{firstMenu.authName}}</span>
          </template>
          <el-menu-item 
            v-for="secondMenu of firstMenu.childAuth" 
            :key="secondMenu.authId" 
            :index="secondMenu.authUrl"
            >
            {{secondMenu.authName}}
          </el-menu-item>
        </el-sub-menu>
      </el-menu>
    </el-aside>
    <el-container class="main-container">
      <el-header>
        <div class="header_left">
          <img src="/warehouse.png" width="40" height="40" />
          <span style="font-weight: bold;">&nbsp;仓库管理系统</span>
        </div>
        <div class="header_right">
          <span>当前用户：{{`${currUser.userCode}`}}</span>
          <a href="#" @click.prevent="logout">退出</a>
        </div>
      </el-header>
      <el-main>
        <div class="breadcrumb">
          <el-icon><fold /></el-icon>
          <el-breadcrumb style="display: inline-block;margin-left: 10px;">
            <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
            <template v-if="$route.meta && $route.meta.nav">
              <el-breadcrumb-item v-for="path in $route.meta.nav " :key="path">{{path}}</el-breadcrumb-item>
            </template>
          </el-breadcrumb>
        </div>
        <router-view></router-view>
      </el-main>
      <el-footer>版权所有&nbsp;&copy;2000-2022&nbsp; </el-footer>
    </el-container>
  </el-container>
</template>

<script setup>
import { ref } from "vue";
import { useRouter } from "vue-router";
import { tip, get, del, removeLocalToken, ddo } from "@/common";
import { Location, Fold } from '@element-plus/icons-vue'

const router = useRouter(); // 获取路由器

// 当前路径
/* const paths = ref([]);
const selectMenu = (first, second) => {
  paths.value = [first, second];
} */

// 获取当前登录用户
const currUser = ref({});
const getCurrentUser = () => {
  get("/curr-user").then(result => {
    currUser.value = result.data;
    localStorage.setItem("userRole", currUser.value.userRole)
  });
}
getCurrentUser();

// 退出
const logout = () => {
  del("/logout").then(result =>{
    // 删除本地token
    removeLocalToken();
    // 替换路由
    router.replace("/login");
    tip.success("您已退出系统！");
  });
}

// 获取所有权限
const menuList = ref([]);
const getMenuList = () => {
  get("/user/auth-list").then(result => {
    menuList.value = result.data;
  });
}
getMenuList();

</script>

<style scoped>
.home-container{
  height: 100%;
  display: flex;
}
.main-container{
  display: flex;
  flex-direction: column;
}
.el-header{
  line-height: 60px;

  display: flex;
  justify-content: space-between;
}
.el-header .header_left{
  font-size: 22px;
  font-family: 微软雅黑;
}
.header_left img{
  margin-top: -5px;
  vertical-align: middle;
}
.el-header .header_right{
  padding-right: 20px;
}
.header_right a{
  margin-left: 10px;
}

.el-menu{
  height: 100%;
}
.el-main {
  border-top: 1px solid #CCC;
  border-bottom: 1px solid #CCC;
}
.breadcrumb{
  margin-bottom: 20px;
}
.el-footer {
  text-align: center;
  font-size: 12px;
  height: 40px;
  line-height: 40px;
}
</style>